{% extends 'base.html' %}
{% block body %}
<div class="container">
<p>
<h3>Help</h3>
<h4>READING INTERFACE</h4>
SESSION<br>
<img src="/lbmanager/media/MONITOR_STATUS_UP.jpg" height=12px> = ENABLED STATE ( pool is set to accept requets )<br>
<img src="/lbmanager/media/MONITOR_STATUS_FORCED_DOWN.jpg" height=12px> = DOWN STATE ( pool is set to down / passive timeout )<br>
<br>
MONITOR<br>
<img src="/lbmanager/media/MONITOR_STATUS_UP.jpg" height=12px> = ENABLED STATE ( backend up and taking connectins )<br>
<img src="/lbmanager/media/MONITOR_STATUS_DOWN.jpg" height=12px> = DOWN STATE ( timing out )<br>
<img src="/lbmanager/media/MONITOR_STATUS_FORCED_DOWN.jpg" height=12px> = FORCE DOWN STATE ( Only current connections permitted )<br>
<img src="/lbmanager/media/MONITOR_STATUS_UNCHECKED.jpg" height=12px> = UNCHECKED / WAITING TO CHECK ( connections permitted )<br>
<img src="/lbmanager/media/MONITOR_STATUS_CHECKING.jpg" height=12px> = CHECKING ( connections permitted )<br>
<br>
Note! Force down is determined by disabling the monitor on the pool and the sessions.<br><br>

<h4>API ENABLE USAGE</h4>Enables and Disables pool members in specified pool<br>
Notes: All variables are Case Sensitive<BR>
The Process first disables the MEMBERS_DISABLE and then enables MEMBERS_ENABLE<BR>
All DISABLED pool members are FORCED down without any chance of repentance<BR>
<br>
Enable Usage: /lbswitch/enable/PARTITION/POOLNAME/MEMBERS_ENABLE/MEMBERS_DISABLE/<BR>
PARTITION = Partition within loadbalancer eg: QA1, SI1, DEV<BR>
POOLNAME = Pool name within partition you want to manipulate<BR>
MEMBERS_ENABLE = Comma separated list of IP:PORT,IP:PORT or "none"<BR>
MEMBERS_DISABLE = Comma separated list of IP:PORT,IP:PORT or "none"<BR>
<BR>
<h4>API STATUS USAGE</h4>
status will show pool member statuses
Status Usage: /lbswitch/status/PARTITION/POOLNAME/<BR>
PARTITION = Partition within loadbalancer eg: QA1, HNG, SI1, DEV<BR>
POOLNAME = comma separated Pool names within partition you want to see<BR>
<br>
<h4>API STATUS WIDGET</h4>
Exactly the same as status but without header / footer links.<br>
Status Usage: /lbswitch/statuswidget/PARTITION/POOLNAME/<BR>
Adding links to lbswitch is done via editing /opt/lbmanager/templates/index.html on amo-hudson.hng
</p>
</div>
{% endblock body %}
